package com.wang.book.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

// Book.java
@Data
@TableName("book")
public class Book {
    @TableId(type = IdType.AUTO)
    private Integer no;
    private Integer typeNo;
    private String name;
    private BigDecimal price;
    private LocalDate pubTime;
    private String author;
    private String pubCompany;
}